const Recorder = require('../vendor/skegn_weapp_sdk_v1/index.js').Recorder //引入外部录音接口
const api = require('./api.js'); //引入接口文件
const aldstat = require("./ald-stat.js"); //引入阿拉丁
const mta = require("./mta_analysis.js"); //引入腾讯分析
const tools = require('./tools.js'); //引入工具函数
const util = require('./util.js');
const DataStorage = require('../assets/js/dataStorage.js') //引入缓存对象
const LoginRegist = require('../assets/js/loginRegist.js') //引入登录注册模块
const localData = require('../assets/js/data.js') //引入本地数据
const WXlogin = require('./wxLogin.js'); //引入登录模块
const Authorize = require('./authorize.js'); //引入授权模块
const Statistics = require('./statistics.js') //引入数据统计逻辑

const paths = { //所有页面的路径
    index: 'pages/tabBarPackage/index/index',
    login: 'pages/tabBarPackage/login/login',
    my: 'pages/tabBarPackage/my/my',
    regist: 'pages/tabBarPackage/regist/regist',
    authorize: "pages/tabBarPackage/authorize/authorize",
    dailyRecommend: 'pages/indexPackage/pages/dailyRecommend/dailyRecommend',
    details: 'pages/indexPackage/pages/details/details',
    rankList: 'pages/indexPackage/pages/rankList/rankList',
    redPaper: 'pages/indexPackage/pages/redPaper/redPaper',
    scorePreview: 'pages/indexPackage/pages/scorePreview/scorePreview',
    share: 'pages/indexPackage/pages/share/share',
    myAccount: 'pages/myPackage/pages/myAccount/myAccount',
    pkRecord: 'pages/myPackage/pages/pkRecord/pkRecord',
    practice: 'pages/myPackage/pages/practice/practice',
    set: 'pages/myPackage/pages/set/set',
    shouldKnow: 'pages/myPackage/pages/shouldKnow/shouldKnow',
    transactionDetail: 'pages/myPackage/pages/transactionDetail/transactionDetail',
    spokenPk: 'pages/activityPackage/pages/spokenPk/spokenPk',
    pkRule: 'pages/activityPackage/pages/pkRule/pkRule',
    pkResult: 'pages/activityPackage/pages/pkResult/pkResult',
    dailyChallenge: 'pages/activityPackage/pages/dailyChallenge/dailyChallenge',
    spokenTraining: 'pages/activityPackage/pages/spokenTraining/spokenTraining',
    h5: 'pages/activityPackage/pages/h5/h5',
    commons: 'pages/commons/',
    modalFrame: 'pages/commons/modalFrame/modalFrame',
    localData: 'pages/commons/localData',
    template: 'pages/commons/template',
    data: 'pages/commons/localData/data',
    loadMore: 'pages/templates/loadMore/loadMore',
    images: '/src/images/',
    netWorkImgUrl: 'https://ies.acadsoc.com.cn/wechatsmallprogram/images/'
}

module.exports = {
    Recorder,
    api,
    aldstat,
    mta,
    tools,
    util,
    DataStorage,
    LoginRegist,
    localData,
    WXlogin,
    Authorize,
    Statistics,
    paths
}